package com.xx.pmis.persistence.dao;

import java.util.List;

import com.xx.pmis.model.Wine;

public interface WineDAO extends BaseDAO<Wine> {
	// 根据葡萄酒ID查询该葡萄酒
	Wine getWineByWineID(String wineID);    

	// 根据条件查询
	List<Wine> getAllWineByCondition(String hql);
	// 根据条件查询，分页显示
	List<Wine> getAllWineByConditionByPage(String hql, int currentPage, int lineSize);
}
